package com.autumn.aitraffic.controller;

import com.autumn.aitraffic.api.Result;
import com.autumn.aitraffic.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller("personal/admin")
@CrossOrigin(origins = "*")
public class AdminController {
    @Autowired
    UserService userService;

    /* todo
    @GetMapping("list")
    public Result list(@RequestParam int pageNum, @RequestParam int pageSize,@RequestParam(required = false) String sort
            ,@RequestParam(required = false) String name,@RequestParam(required = false) String phoneNumber,
             @RequestParam(required = false) int level) {
            return
    }*/
}
